package customer.zspt.cn.customer.components.chat.chatQuiteVp;

import android.app.Activity;
import android.view.View;

/**
 * Created by Administrator on 2018/7/18 0018.
 */

public abstract class BaseVpItem {
    public Activity mActivity;
    public View mRootView;
    public BaseVpItem(Activity activity)
    {
        mActivity = activity;
        mRootView = initView();
    }
    public abstract View initView();
    public void initData(){

    }
    public BasicDataLintener mLintener;
    public void getBasicDataLintener(BasicDataLintener lintener){
        mLintener = lintener;
    }
     public interface BasicDataLintener{
         void getData(Object data);
     }

}
